package com.carpedil.boot.service;

import com.carpedil.boot.entity.User;
import com.carpedil.boot.entity.dto.UserDTO;
import com.carpedil.dto.ScoreDto;
import com.carpedil.dto.UserDto;

import java.util.List;

/** @author Administrator */
public interface UserService {
  List<User> getUsers();

  int registerUser(User user);

  UserDto getUserByUserNameAndPassword(String username, String password);

  List<ScoreDto> login(String username, String password);

  UserDTO getUserTravelInfo(String username);
}
